home *** CD-ROM | disk | FTP | other *** search
/ PC Active 2009 July/August / PC Active NR.227.iso / Software / Games / windows / Freeciv-2.1.9-win32-gtk2-setup.exe / doc / README < prev    next >
Encoding:
Text File  |  2009-03-25  |  16.5 KB  |  511 lines

  1. ===================
  2. Freeciv Version 2.1
  3. ===================
  4.  
  5. Welcome to Freeciv!
  6.  
  7. This archive contains Freeciv, a free Civilization-like game, primarily
  8. for X under Unix.  It has support for multiplayer games locally or
  9. over a network, and an AI which gives most people a run for their money.
  10.  
  11. Freeciv aims to be mostly rule-compatible with Civilization II [tm],
  12. published by Sid Meier and Microprose [tm].  A few rules are different
  13. where we think it makes more sense, and we have lots and lots of
  14. adjustable parameters to make customizing games possible.
  15.  
  16. Freeciv has been implemented completely independently of Civilization;
  17. you do not need to own Civilization to play Freeciv.
  18.  
  19.  
  20. Translations:
  21. =============
  22.  
  23. You may find a translated version of this file, as well as of other parts
  24. of the Freeciv documentation, in the following places:
  25.  
  26.     Catalan            ./doc/ca
  27.     Dutch            ./doc/nl
  28.     French            ./doc/fr
  29.     German            ./doc/de
  30.     Italian            ./doc/it
  31.     Japanese        ./doc/ja
  32.     Swedish            ./doc/sv
  33.  
  34. Even if there is no translation for your language, the game itself may
  35. support it.  Please see "Native Language Support" below.
  36.  
  37.  
  38. Web site:
  39. =========
  40.  
  41. Freeciv's web site is here:
  42.  
  43.   http://www.freeciv.org/
  44.  
  45. We invite you to visit.  You can get the latest Freeciv news, releases
  46. and patches, find out about the Freeciv mailing lists, and see the
  47. Freeciv metaserver, which records games being played around the world.
  48.  
  49.  
  50. License:
  51. ========
  52.  
  53. Freeciv is released under the GNU General Public License.  In short,
  54. you may copy this program (including source) freely, but see the
  55. COPYING file for full details.
  56.  
  57.  
  58. Compiling and installing:
  59. =========================
  60.  
  61. Please read the INSTALL file carefully for instructions on how to get
  62. Freeciv compiled and installed on your machine.
  63.  
  64.  
  65. Starting a new game:
  66. ====================
  67.  
  68. Freeciv is actually two programs, a server and a client.  When a game
  69. is in progress, there will be one server program running, and as many
  70. client programs as there are human players.  The server does not need
  71. X, but the clients do.
  72.  
  73.   NOTE:
  74.   The following examples assume that Freeciv has been installed on
  75.   your system, and that the directory containing the "civclient"
  76.   and "civserver" programs is in your PATH.  If Freeciv is not
  77.   installed, then you may want to use the "civ" and "ser" programs,
  78.   which can be found in the top Freeciv directory.  They are used
  79.   in exactly the same fashion as "civclient" and "civserver".
  80.  
  81. Running Freeciv involves starting the server, then the client(s)
  82. and AI(s), then telling the server to start the game.  Here are the
  83. steps:
  84.  
  85. Server:
  86.  
  87.   To start the server:
  88.  
  89.   |  % civserver
  90.  
  91.   Or for a list of command-line options:
  92.  
  93.   |  % civserver --help
  94.  
  95.   Once the server is started, a prompt will appear:
  96.  
  97.   |  For introductory help, type 'help'.
  98.   |  >
  99.  
  100.   and, you can see this information by using the help command:
  101.  
  102.   |  > help
  103.   |  Welcome - this is the introductory help text for the Freeciv server.
  104.   |
  105.   |  Two important server concepts are Commands and Options.
  106.   |  Commands, such as 'help', are used to interact with the server.
  107.   |  Some commands take one or more parameters, separated by spaces.
  108.   |  In many cases commands and command arguments may be abbreviated.
  109.   |  Options are settings which control the server as it is running.
  110.   |
  111.   |  To find out how to get more information about commands and options,
  112.   |  use 'help help'.
  113.   |
  114.   |  For the impatient, the main commands to get going are:
  115.   |    show   -  to see current options
  116.   |    set    -  to set options
  117.   |    start  -  to start the game once players have connected
  118.   |    save   -  to save the current game
  119.   |    quit   -  to exit
  120.   |  >
  121.  
  122.   If you like, you can use the 'set' command to set any of the various
  123.   server options for the game.  You can get a list of the options
  124.   with the 'show' command, and detailed descriptions of each with the
  125.   'help <option-name>' command.
  126.  
  127.   For example:
  128.  
  129.   | > help size
  130.   |  Option: size  -  Map size in 1,000 tiles units
  131.   |  Description:
  132.   |    This value is used to determine the map dimensions.
  133.   |      size = 4 is a normal map of 4,000 tiles (default)
  134.   |      size = 20 is a huge map of 20,000 tiles
  135.   | Status: changeable
  136.   | Value: 4, Minimum: 1, Default: 4, Maximum: 29
  137.  
  138.   And:
  139.  
  140.   |  > set size 8
  141.  
  142.   This will make the map twice as large as the default.
  143.  
  144. Client:
  145.  
  146.   Now all the human players should join, by running the Freeciv
  147.   client:
  148.  
  149.   |  % civclient
  150.  
  151.   This assumes the server is running on the same machine.  If not, you
  152.   can either specify it on the command line with the '--server' option,
  153.   or enter it into the first dialog box once the client starts.
  154.  
  155.   For example, suppose the server is running on a different machine
  156.   called 'neptune'.  Then players would join with a command like:
  157.  
  158.   |  % civclient --server neptune
  159.  
  160.   If you're the only human player, then only one client needs to be
  161.   started.  In standard Unix fashion you can start the client
  162.   "in the background" by appending an ampersand:
  163.  
  164.   |  % civclient &
  165.  
  166.   Another option for the client you may like to try is the '--tiles'
  167.   option, which can be used to select different "tilesets" (that is,
  168.   different graphics for the map terrain, units, and so on).  The
  169.   distribution comes with 5 main tilesets:
  170.   - amplio: An isometric tileset with larger and more detailed tiles.
  171.   - isotrident: An isometric tileset similar in shape to the one in Civ 2.
  172.   - trident: a Civ 1-style tileset with 30x30 tiles.
  173.   - isophex: an isometric hexagonal tileset
  174.   - hex2t: an overhead hexagonal tileset
  175.  
  176.   In this release the amplio tileset is the default tileset.
  177.   To try another one, for instance the trident tileset, start the
  178.   client with:
  179.  
  180.   |  % civclient --tiles trident
  181.  
  182.   Other tilesets are available from http://www.freeciv.org/wiki/Tilesets
  183.  
  184.  
  185.   Clients can be authorized to issue server commands.  To allow them
  186.   to use informational commands only, type at the server prompt
  187.  
  188.   |  > cmdlevel info
  189.  
  190.   Clients can now use '/help', '/list', '/show settlers', etc.
  191.  
  192. Computer Players:
  193.  
  194.   There are two ways to create AI players.  The first is to set
  195.   the number of players (human and AI) by setting the 'aifill'
  196.   server option.  For example:
  197.  
  198.   |  > set aifill 7
  199.  
  200.   After using the 'start' server command to start the game, any players
  201.   which aren't controlled by humans will be AI players.  For the above,
  202.   if two human players had joined, 5 AI players would be created.
  203.  
  204.   The second way is to explicitly create an AI with the 'create'
  205.   server command.  For example:
  206.  
  207.   |  > create HumanKiller
  208.  
  209.   This will create an AI-controlled player called HumanKiller.
  210.  
  211.   AI players are assigned to nations after all human players have
  212.   chosen their nations, but you can choose a particular nation for an
  213.   AI player by using the normal name for that nation's leader.  For
  214.   example, to play against AI-controlled Romans, use this server
  215.   command:
  216.  
  217.   |  > create Caesar
  218.  
  219.   Note, this is just a preference:  If no other human player chooses
  220.   to play the Romans, then this AI will.
  221.  
  222. Server:
  223.  
  224.   When everybody has joined (use the "list" command to see who's in),
  225.   start the game with the "start" command:
  226.  
  227.   |  > start
  228.  
  229. And the game is on!
  230.  
  231.   NOTE: In this version of Freeciv, the GTK and SDL clients have the
  232.   capability to automagically start a civserver session when the user
  233.   selects "Start New Game" from the main menu. This reduces the steps
  234.   needed to get started playing a game of Freeciv. On the other hand,
  235.   it also means that if the client crashes for some reason or becomes
  236.   unavailable, the civserver session will also be lost. So starting a
  237.   separate civserver session and then connect to it with the client is
  238.   generally the recommended method.
  239.  
  240.  
  241. Announcing the game:
  242. ====================
  243.  
  244. If you do not want to limit your opponents to local friends or AI players,
  245. visit the Freeciv metaserver:
  246.  
  247.   http://meta.freeciv.org/metaserver.phtml
  248.  
  249. It is a list of Freeciv servers.  To make your own server announce itself
  250. there, start civserver with the '--meta' option, or just '-m' for short.
  251.  
  252. Caveats:
  253.  
  254.  1) Due to the inclusion of new features, different client and server
  255.     versions are often incompatible. The 2.0.0 version is for example
  256.     incompatible with 1.14.2 or earlier versions.
  257.  
  258.  2) If the Metaserver button in the connection dialog doesn't work,
  259.     check if your ISP uses a mandatory WWW proxy and make civclient
  260.     use it through the $http_proxy environment variable.  For instance,
  261.     if the proxy is proxy.myisp.com port 8888, set $http_proxy
  262.     to http://proxy.myisp.com:8888/ before starting the client.
  263.  
  264.  3) Sometimes there are no games on the metaserver.  That happens.
  265.     The number of players there vary with the time of the day. Try 
  266.     starting one yourself!
  267.  
  268.  
  269. Playing the game:
  270. =================
  271.  
  272. The game may be saved at any time using the 'save' server command,
  273. like so:
  274.  
  275.   |  > save mygame.sav
  276.  
  277. (If your server is compiled with compression support, and the
  278. 'compress' server option is set to other than 0 (zero), then the
  279. file written may be compressed and called 'mygame.sav.gz'.)
  280.  
  281. The Freeciv client works pretty much as you would expect from a
  282. multiplayer civilization game.  That is, the human players all move
  283. at the same time, then all the AI players move when all the human
  284. players have completed their turn.  There's a turn timeout value,
  285. which is by default set to 0 seconds (no timeout).  The server
  286. operator can alter this value at any time with the 'set' command.
  287.  
  288. Have a look at the online help system. All three mouse-buttons are
  289. used, and documented in the help.
  290.  
  291. Players can hold down 'Shift' and push the 'Return' key to announce
  292. the end of their turn, or just push the 'Turn Done' button.
  293.  
  294. Use the 'Players' dialog to see who has announced their end of turn,
  295. and who you're waiting for.  (Hey feller, are you asleep or what?? ;).
  296.  
  297. Use the input line at the bottom of the window for broadcasting
  298. messages to other players.
  299.  
  300. You can send a message to an individual player (e.g., 'peter') like so:
  301.  
  302.   |  peter: move that armor away *NOW*!
  303.  
  304. The server is smart enough to perform "name completion", so if you had
  305. typed "pet:", it will find a player name that matches the part of the
  306. name you typed.
  307.  
  308. You can send a message to all your allies by prefixing it with the 
  309. letter '.' (yes, that is a period).
  310.  
  311. You can issue server commands from the client input line:
  312.  
  313.   |  /list
  314.   |  /set settlers 4
  315.   |  /save mygame.sav
  316.  
  317. The server operator will probably let you issue informational commands
  318. only.  This is partly because allowing clients to use all server
  319. commands has security implications; consider if a player tried:
  320.  
  321.   |  /save /etc/passwd
  322.  
  323. Of course the server should not be running with superuser privileges in
  324. any case, to reduce this sort of risk.
  325.  
  326. If you're just starting, and would like to get an idea of a strategy,
  327. have a look in the Freeciv playing HOWTO, contained in the HOWTOPLAY
  328. file.
  329.  
  330. For lots more information about the client, the server, and the
  331. concepts and rules of the game, see the Freeciv manual, available
  332. at the wiki:
  333.  
  334.   http://www.freeciv.org/wiki/Manual
  335.  
  336.  
  337. Ending the game:
  338. ================
  339.  
  340. There are four ways in which a game can end:
  341.  
  342. 1) Only one nation or one team is left, or all other players of all
  343.    other teams have ceded the game (/surrender).
  344. 2) The final year is reached.
  345. 3) A player builds and launches a spaceship, which reaches Alpha
  346.    Centauri first.
  347. 4) The server operator uses the /endgame command.
  348.  
  349. A score-table will be shown in all cases.  Hint: The server operator
  350. can set the final year while the game is still going by changing the
  351. 'end-year' option.  This is nice when the winner is obvious, but you
  352. don't want to play through the boring 'cleanup phase'.
  353.  
  354.  
  355. Restoring games:
  356. ================
  357.  
  358. You can restore a saved game by using the '-f' server option, eg:
  359.  
  360.   |  % civserver -f oursave2001.sav
  361.  
  362. or, if the save-file was created by a server that compressed it:
  363.  
  364.   |  % civserver -f oursave2001.sav.gz
  365.  
  366. Now the players can rejoin the game:
  367.  
  368.   |  % civclient -n Alexander
  369.  
  370. Notice how the player-name is specified with the -n option. It's vital
  371. that the player uses the same name as they had when the game was running,
  372. if they're to be allowed in.
  373.  
  374. The game may then be restarted with the 'start' command as usual.
  375.  
  376.  
  377. Native Language Support:
  378. ========================
  379.  
  380. Freeciv supports several languages.
  381.  
  382. You may choose which local language to use by specifying a "locale".
  383. Each locale has a standard name (e.g., 'de' for German).  If you have
  384. installed Freeciv, you may choose a locale by setting the environment
  385. variable LANG to that locale's standard name before running civserver
  386. and civclient.
  387.  
  388. For example, assuming you wish to use the German localization, you
  389. would do:
  390.  
  391.   export LANG; LANG=de   (in the Bourne shell (sh)),
  392. or
  393.   setenv LANG de         (in the C shell (csh)).
  394.  
  395. (You could do this in your .profile or .login file.)
  396.  
  397. Sometimes there is a conflict between the local library implementation
  398. and the internal locale determination.  It is often possible to work
  399. around problems with a more detailed descriptor:
  400.  
  401.   LANG=de_DE.UTF-8
  402.  
  403. We'd like to know about such problems.  Please report them as bugs
  404. (see BUGS).
  405.  
  406.  
  407. Log messages:
  408. =============
  409.  
  410. Both the client and server print messages known as "log messages".
  411. There are five categories of log messages: "fatal", "error", "normal",
  412. "verbose", and "debug".
  413.  
  414. By default, fatal, error and normal messages are printed to standard 
  415. output where the client or server was started.  You can direct log 
  416. messages to a file instead of the screen with the "--log filename", 
  417. or "-l filename" command line options.
  418.  
  419. You can change the level of log messages displayed with "--debug
  420. level" or "-d level" (or instead "-de level" for the Xaw client, since
  421. "-d" is ambiguous between "-debug" and "-display"), where "level" is
  422. 0, 1, 2, or 3.  0 means show fatal messages only, 1 means show fatal
  423. and error messages, 2 means fatal, error and normal messages (the
  424. default), and 3 means show all fatal, error, normal, and verbose
  425. messages.
  426.  
  427. If you compiled with DEBUG defined (an easy way to do this is to
  428. configure with --enable-debug), then you can get debug level messages
  429. by setting the level to 4.  Also, it is possible to control debug
  430. level messages (but not other messages) on a per-file and per-line
  431. basis.  To do this use "--debug 4:str1:str2" (as many strings as you
  432. like, separated by colons) and any filenames which match those strings
  433. as a substring will have debug log messages turned on, and all other
  434. debug messages will be suppressed.  To control lines, use:
  435. "--debug 4:str1,min,max" and for files which match str1 only debug
  436. messages within the specified minimum and maximum lines will be
  437. printed.  Only one set of (min,max) can be applied to each file.
  438.  
  439. Example:
  440.  
  441.   |  % civserver -l my.log -d 3
  442.  
  443. This sends all server log messages to file "my.log", including verbose
  444. level messages.
  445.  
  446. Example:
  447.  
  448.   |  % civclient --debug 0
  449.  
  450. This suppresses all non-fatal client log messages.
  451.  
  452. Example:
  453.  
  454.   |  % civserver -d 4:log:civserver,120,500:autoattack
  455.  
  456. This turns on all fatal, error, normal and verbose messages for the
  457. server, and debug level messages for some specified modules.  Note
  458. that "log" will match "gamelog.c" as well as "log.c".  For
  459. "civserver.c", debug messages between lines 120 and 500 will be
  460. printed.  This example only works if the server was compiled with
  461. DEBUG.
  462.  
  463.  
  464. Bugs:
  465. =====
  466.  
  467. Found a bug?  We really want to hear from you so we can fix it.
  468. See the file BUGS, for a list of known bugs in this release, and
  469. information about reporting new bugs.
  470.  
  471.  
  472. Mailing lists:
  473. ==============
  474.  
  475. We maintain 4 mailing lists:
  476.  
  477.   freeciv-announce Announcements of general interest.
  478.                    This is a "Read Only" list, with infrequent messages.
  479.                    In other words you can't mail this list, just read it.
  480.   freeciv-i18n     Freeciv translation.
  481.                    All discussions related to translating the Freeciv code,
  482.                    documentation, and website, into other languages than
  483.                    English.
  484.   freeciv-dev      Freeciv development.
  485.   freeciv-commits  Notifications of changes to the SVN repository.
  486.                    This is a "Read Only" list, carrying automated messages.
  487.                    In other words you can't mail this list, just read it.
  488.  
  489. All lists are open to the general public and everyone is welcome to join.
  490. Only maintainers may post to the -announce and -commits lists.
  491.  
  492. The lists are hosted at gna.org. For more information, to join, or to leave 
  493. these lists, go to https://gna.org/mail/?group=freeciv
  494.  
  495.  
  496. Internet Relay Chat (IRC)
  497. =========================
  498.  
  499. Several players and developers hang out on #freeciv and #freeciv-dev 
  500. channels on the freenode network. Try connecting to the server
  501.  
  502.     irc.freenode.net
  503.  
  504.  
  505. And finally:
  506. ============
  507.  
  508. Have fun and give 'em hell!
  509.  
  510.                                    -- The Freeciv team.
  511.